/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.system.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.math.BigDecimal;
import java.io.Serializable;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

/**
* @website https://el-admin.vip
* @description /
* @author wangyu
* @date 2024-03-20
**/
@Data
public class UserAccountBillDto implements Serializable {

    /** 主键ID */
    /** 防止精度丢失 */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long billId;

    /** 系统用户ID */
    private Long sysUserId;

    /** 账户编号 */
    private String acctNo;

    /** 用户openid */
    private String openId;

    /** 类型，0：收入，1：提现，2：消费支出 */
    private Integer billType;

    /** 变更金额 */
    private BigDecimal amount;

    /** 三方流水号 */
    private String thdFlowid;

    /** 审批状态(0：提交申请 1： 处理中 2：成功 3：驳回) */
    private Integer approvalState;

    /** 提现状态 (0: 待处理,1:处理中，2成功，3：失败,4驳回 */
    private Integer cashoutState;

    /** 原因 */
    private String failMsg;

    /** 业务编号 */
    private String bizNo;

    /** 业务来源 */
    private Integer bizSource;

    /** 创建时间 */
    private Timestamp createTime;

    /** 账单状态0：无效，1：有效，2：过期，3：作废 */
    private Integer billStatus;

    /** 账单过期时间 */
    private Timestamp expireTime;

    /** 账单备注 */
    private String billRemark;

    private String mobile;
}